#pragma once
#include <iostream>

// ReceivedDataRecord
// 
// Class to represent a single received data record.
//
// Data Record includes:
//
// index (16 bits)
// shaker A value (16 bits)
// shaker B value (16 bits)
// accelerometer A value (16 bits)
// accelerometer B value (16 bits)
// accelerometer C value (16 bits)
//
// All data record elements are 16 bit unsigned ints

// Use our standard CC3501 namespace
namespace CC3501_Main_GUI {

	using namespace std;
	using namespace System;
	using namespace System::IO;
	using namespace System::Text;
	using namespace System::Diagnostics;
	using namespace System::Collections::Generic;
	using namespace System::Globalization;
	
	#pragma once
	ref class ReceivedDataRecord
	{
		public:
		
		// Constructor
		ReceivedDataRecord(UInt16, UInt16, UInt16, UInt16, UInt16, UInt16);
		
		// Getters
		UInt16 getIndex(void);
		UInt16 getShakerAValue(void);
		UInt16 getShakerBValue(void);
		UInt16 getAccelerometerAValue(void);
		UInt16 getAccelerometerBValue(void);
		UInt16 getAccelerometerCValue(void);

		private:
			UInt16 index;
			UInt16 shakerAValue;
			UInt16 shakerBValue;
			UInt16 accelerometerAValue;
			UInt16 accelerometerBValue;
			UInt16 accelerometerCValue;
	};
}

